package events.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import events.Event;

public class EventDaoImpl extends HibernateDaoSupport implements EventDao
{
	/* (non-Javadoc)
	 * @see events.EventDao#save(events.Event)
	 */
	public void store(Event event)
	{
		getHibernateTemplate().merge(event);
	}
	
	public void findAll()
	{
		getHibernateTemplate().find("from Event");
	}
}
